package com.nifostasky.comic.exceptions;


import com.nifostasky.comic.vos.ResultCode;

/**
 * 业务异常
 */
public class FeignTimeOutException extends Exception{
    /*无参构造函数*/
    public FeignTimeOutException(){
        super();
    }

    public FeignTimeOutException(ResultCode resultCode){
        super(resultCode.getMsg());
    }

    //用详细信息指定一个异常
    public FeignTimeOutException(String message){
        super(message);
    }

    //用指定的详细信息和原因构造一个新的异常
    public FeignTimeOutException(String message, Throwable cause){
        super(message,cause);
    }

    //用指定原因构造一个新的异常
    public FeignTimeOutException(Throwable cause) {
        super(cause);
    }
}
